package soundwave.com.demo.entry;

/**
 * Created by xu on 2017/4/2.
 */

public class LoginSingle {

    private static LoginSingle loginSingle;


    private LoginSingle() {
    }

    public static LoginSingle getInstance() {
        if (loginSingle == null) {
            loginSingle = new LoginSingle();
        }
        return loginSingle;
    }

    private boolean isLogin;
    private String name;
    private String phone;

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public boolean isLogin() {
        return isLogin;
    }

    public void setLogin(boolean login) {
        isLogin = login;
    }
}
